<me:UIAM x:Class="WPFExcelReport.TSBDE"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"   
                    xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"   
                    xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"   
                    xmlns:KS="clr-namespace:WPFExcelReport;assembly=TKSTSTELL"   
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                    xmlns:WH="clr-namespace:WPFExcelReport;assembly=TLAGPL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAM.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:SDKEYCONV x:Key="sd"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAM.Resources> 
    <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"
                >
        <WrapPanel  Visibility="{Binding IsShift,ElementName=TV,Converter={StaticResource bv}}">
            <TextBlock Text="{Binding Source={Localization:Translate Word=班次:}}" FontSize="18"/>
               <SD:K9318 
                   IsCombo="False"
                   IsMaster="False"
                   KEY="{Binding SHIFT,ElementName=TV}"/>
        </WrapPanel>
        <WrapPanel Margin="0,50,50,0"> 
            <TextBlock Text="{Binding Source={Localization:Translate Word=验布机:}}" FontSize="18"/>
            <ex:TXT72 MaxLength="8" Text="{Binding ART,ElementName=TV}" Width="100" FontSize="18"
                      TabIndex="1"
                      KeyUp="Query_KeyUp"
                      />
            
        </WrapPanel>
        <Button Margin="0,50,50,0" Content="{Binding Source={Localization:Translate Word=登陆}}" FontSize="18" Click="StartQICommand"></Button>
    </StackPanel> 
</me:UIAM>
